package com.lxw.nonghe.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.OperationLog;

import java.util.List;

public interface OperationLogService {
    void saveLog(OperationLog operationLog);

    List<OperationLog> getRecentLogs();

    IPage<OperationLog> getLogPage(Page<OperationLog> page,
                                   String username,
                                   String module,
                                   String status);
}
